package com.fuyun.microservice.codec.msg;

import com.fuyun.microservice.codec.PacketType;
import lombok.Data;

@Data
public class LoginResponseMessage extends Message {
    private static final long serialVersionUID = -7762194632879048171L;

    public LoginResponseMessage(long reqSequenceNo){
        Header header=new Header();
        header.setCommandId(PacketType.CONNECTRSPONSE.getCommandId());
        header.setSequenceNo(reqSequenceNo);
        super.setHeader(header);
    }

    private int rspCode;

    private String rspMessage;
}
